package com.sale.goods.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sale.common.mybatis.core.mapper.BaseMapperPlus;
import com.sale.goods.domain.GoodsCost;
import com.sale.goods.domain.dto.GoodsCostDto;
import com.sale.goods.domain.vo.GoodsCostVo;
import org.apache.ibatis.annotations.Param;

/**
 * @Description 成本调整
 * @Date 23-08-08
 * @Author hl
 **/
public interface GoodsCostMapper extends BaseMapperPlus<GoodsCostMapper, GoodsCost, GoodsCost> {

    /**
     * 分页查询成本调整
     * @param build,buildQueryWrapper
     * @return   List<GoodsDisburseDto>
     */
    Page<GoodsCostDto> selectCostList(@Param("page") Page<GoodsCostVo> build,@Param(Constants.WRAPPER) Wrapper<GoodsCostVo> buildQueryWrapper);
}
